package com.ruoyi.medicine.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单详情信息对象 his_medicine_order_detail
 * 
 * @author ruoyi
 * @date 2024-08-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HisMedicineOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 详情ID */
    private Long detailId;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Long drugId;

    /** 数量 */
    @Excel(name = "数量")
    private Long detailNum;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private Double detailMoney;

    /** 批次号 */
    @Excel(name = "批次号")
    private String detailBatch;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** （0正常 1 禁用） */
    @Excel(name = "", readConverterExp = "0=正常,1=,禁=用")
    private String status;
    //存储药品信息
    private HisMedicineDrug hisMedicineDrug;
    //存储请求数据的药品名称
    private String drugName;

}
